package com.dmjj.common.base;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * Description: 实体类的基类 
 * Project: meirenhui 
 * ClassName: BaseEntity 
 * Copyright: Copyright (c) 2017 deshang
 * @author bushy
 * @version 1.0 2017年10月21日下午2:05:00
 */
@Data
public class BaseEntity implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	protected Long id;
	protected Long organId;
	protected String state;
	protected Long author;
	protected Integer sort;
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") 
	protected Date createDate;
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	protected Date modifyTime;
	protected String token;
	
}
